package com.xiu.weixin.service.wx.event.click;

import java.util.Map;

import org.springframework.stereotype.Service;

import com.xiu.weixin.pojo.message.Message;
import com.xiu.weixin.pojo.message.TextMessage;

@Service
public class ClickEventService {
	public static Message doService(Map<String, String> reqMap) {
		String key = reqMap.get("EventKey");
		Message msg = null;
		switch (key) {
		case "1":
			msg = new TextMessage(reqMap, "你点了一下一级点击菜单");
			break;
		case "31":
			msg = new TextMessage(reqMap, "你点了一下二级菜单第一个点击菜单");
		}

		return msg;
	}

}
